// 设置存储token
export const SetToken = (token) => {
  localStorage.setItem('token', token)
}

// 获取token
export const GetToken = () => {
  return localStorage.getItem('token')
}

// 删除token
export const DelToken = () => {
  localStorage.removeItem('token')
}

// 获取用户信息
export const GetUserInfo = () => {
  return localStorage.getItem('userInfo')
}
// 删除用户信息
export const DelUserInfo = () => {
  return localStorage.removeItem('userInfo')
}
